<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>

<style>
    .container{
        margin-top: 10rem;
    }
    .form-group{
        margin-top: 2rem;
    }
    .btn{
        float:right;
        margin-left: 2rem;
    }
</style>

<body>
    <div class="container">

        <div class="row align-items-center justify-content-center">
            <div class="col">

            </div>
            <div class="col">
                <div class="card shadow " style="width: 35rem;height: 25rem;">
                    <div class="card-body">
                        <h2 class="card-title text-center">欢迎来到我的世界</h2>
                        <form>
                            
                            <div class="form-group row">
                                <label for="inputEmail3" class="col-sm-2 col-form-label">用户名</label>
                                <div class="col-sm-10">
                                  <input type="email" class="form-control" id="inputEmail3">
                                </div>
                              </div>

                              <div class="form-group row">
                                <label for="inputPassword3" class="col-sm-2 col-form-label">密码</label>
                                <div class="col-sm-10">
                                  <input type="password" class="form-control" id="inputPassword3">
                                </div>
                              </div>

                            <div class="form-group form-check">
                                <input type="checkbox" class="form-check-input" id="exampleCheck1">
                                <label class="form-check-label" for="exampleCheck1">记住</label>
                            </div>

                            <div class="form-group btn-bottom-right">
                                <button type="submit" class="btn btn-primary btn-lg" style="width: 6rem;">登录</button>
                                <button type="button" class="btn btn-primary btn-lg" style="width: 6rem;" onclick="jump()">注册</button>
                            </div>
                            
                        </form>
                    </div>
                </div>
            </div>
            <div class="col">

            </div>
        </div>

    </div>


    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script>
        function jump(){
            window.location.href='./register.html';
        }
    </script>
</body>

</html>